home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
stevie.arc
/
REGEXP.ARC
/
REGERROR.C
< prev
next >
Wrap
Text File
|
1990-01-10
|
359b
|
20 lines
#include <stdio.h>
void
regerror(s)
char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
fprintf(stderr, "regexp(3): %s\n", s);
exit(1);
/*
note: if the program using regexp(3) wants to handle the regexp
errors, comment out the above and use this
*/
return; /* let using program handle errors */
#endif
/* NOTREACHED */
}